package io.qar.categories.service;

import com.alibaba.nacos.shaded.javax.annotation.Nullable;
import io.qar.commons.mybatis.service.CrudService;
import io.qar.categories.dto.CategoriesDTO;
import io.qar.categories.entity.CategoriesEntity;
import io.qar.commons.mybatis.utils.Page;
import org.springframework.cache.annotation.Cacheable;

import javax.validation.constraints.Min;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 分类信息表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 3.0 2024-06-02
 */
public interface CategoriesService extends CrudService<CategoriesEntity, CategoriesDTO> {
    List<CategoriesDTO> list(Map<String, Object> params);
//    Page<CategoriesDTO> selectPageByName(String name, Integer curPage, Integer pageSize);

    Long selectCount();
}